<!--grid-->
<div class="main image-management">
    <div>
        <form class="form-inline title">
            <div class="form-group">
                <a class="action-btn" style="margin:0 10px -2px 0;">本地选择图片
                    <input type="file" name="imageName" id="uploaderPic" class="inputFile" ng2FileSelect [uploader]="uploader" (change)="selectedFileOnChanged($event)" >
                </a>
            </div>
            <div class="form-group">
                <label>名称</label>
                <input type="text" class="form-control" style="margin-right: 8px;" [(ngModel)]="uploadPic.imageName" name="imageName"/>
                <button type="button" class="confirm-btn" (click)="uploadFile(uploader.queue[0])">上传</button>
            </div>
            <div class="form-group" style="margin-left: 60px;">
                <input type="text" class="inp" placeholder="请输入名称" name="imageName" [(ngModel)]="filter.imageName">
            </div>
            <button type="submit" class="confirm-btn" (click)="selectListItem()">搜索</button>
        </form>
    </div>
<app-image-management-grid #imageGrid></app-image-management-grid>
</div>

